/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable space-before-function-paren */
import { Getinformation } from '@/api/information'
export default {
  namespaced: true,
  state: {
    // 员工信息
    data: ''
  },
  getters: {
  },
  mutations: {
    setdata(state: any, res: any) {
      state.data = res
      console.log(state.data)
    }
  },
  actions: {
    getfindSubAccount: async (context: any, res: any) => {
      const data = await Getinformation(res)
      context.commit('setdata', data)
    }
  }
}
